package com.imooc.order4;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication//(exclude= {DataSourceAutoConfiguration.class})//  ,不让他自动配置数据库
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "com.imooc.product1.client")  //扫描商品的包路径
public class Order4Application {

    public static void main(String[] args) {
        SpringApplication.run(Order4Application.class, args);
    }

}
